﻿using System.ComponentModel.DataAnnotations;

namespace BW.Demo.WebApi.Dtos
{
    public class TraceabilityDTO
    {

        public int Basic_Traceability { get; set; }

        public int Gid { get; set; }


        public string Batch { get; set; } = string.Empty;


        public int Shelf_life { get; set; }

        public string Productionlicense { get; set; } = string.Empty;

     
        public string Production_Enterprise { get; set; } = string.Empty;

      
        public int Information_Completeness { get; set; }

        public string ProductInspectionReportPath { get; set; } = string.Empty;


        public string CoverImage { get; set; } = string.Empty;
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; } = DateTime.Now;

        /// <summary>
        /// 创建人
        /// </summary>

        public string CreateUser { get; set; } = string.Empty;

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 修改人
        /// </summary>

        public string? UpdateUser { get; set; } = string.Empty;

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool? IsDeleted { get; set; } = false;


        /// <summary>
        /// 商品名称
        /// </summary>
        [MaxLength(50)]
        public string GoodsName { get; set; } = string.Empty;
    }
}
